package Array;

/**
 * Enjoy programming!!!
 * time: 2021/10/23 -  19:02
 */
public class Array01 {
    public static void main(String[] args ){
        if(args.length == 0 || args[0].equals("-h")){
            System.out.print("Hello,");
        }
        else if (args[0].equals("-g")){
            System.out.print("Goodbye,");
        }
        for (int i = 1; i < args.length; i++){
            System.out.print(" " + args[i]);
        }
        System.out.println("!");

    }
}
